<div ng-controller="FenxiaopriceCtrl" ng-init="listAction()">
    <ul class="sui-breadcrumb">
        <li><a href="#/fenxiaoprice/list">{{'fenxiaoprice'| translate}}{{'List'|translate}}</a></li>
        <li class="active">
            {{"List"|translate}}
            <a href="#/fenxiaoprice/add" id="addNew" class="sui-btn btn-primary">+{{'add_new' | translate}}</a>
        </li>
        <span class="sui-form sui-form pull-right"> 
          <input type="text"  placeholder="{{'id'|translate}}"  ng-model="id">
          <input type="text"  placeholder="{{'keyword'|translate}}"  ng-model="keyword">
          <button class="sui-btn btn-primary" type="submit" ng-click="getFenxiaopriceList()">{{'search'|translate}}</button>
        </span>
    </ul>
    <table class="sui-table table-bordered">
        <thead>
            <tr>
                <th>{{'goods_id'|translate}}</th>
                <th>{{'level'|translate}}</th>
                <th>{{'price'|translate}}</th>
                <th>{{'enabled'|translate}}</th>
                <th>{{'operation'|translate}}</th>
            </tr>
        </thead>
        <tbody>
            <tr ng-repeat="list in fenxiaoprices">
                <td>{{list.goods_id}}</td>
                <td>{{list.level}}</td>
                <td>
                	{{list.price}}
                </td>
                <td>{{list.enabled}}</td>
                <td>
                    <a href="#/fenxiaoprice/add?id={{list.id}}" class="sui-btn btn-success">{{'edit'|translate}}</a>
                    <a href="#/fenxiaoprice/info?id={{list.id}}" class="sui-btn btn-primary">{{'info'|translate}}</a>
                    <a ng-click="FenxiaopriceDelete(list.id)" class="sui-btn btn-danger">{{'delete'|translate}}</a>
                </td>
            </tr>
        </tbody>
    </table>
    <!-- 分页start -->
    <pager page-no="1" page-size="page_Size" total="fenxiaopricesTotal" get-data="getFenxiaopriceList(pageNo)"></pager>
    <!-- 分页end -->
</div>
